package datacontainers;


public class Dish {

	private int id; // may be need delete...
	private Category category;
	private String name;
	private String description;
	private double cost;

	// private byte rate;

	public void setId(int id) {
		this.id = id;
	}

	public Dish(int id, Category cat, String name, String description,
	        double cost) {
		this.id = id;
		this.category = cat;
		this.name = name;
		this.description = description;
		this.cost = cost;

	}

	public Category getCategory() {
		return category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public double getCost() {
		return cost;
	}

	public void setCost(double cost) {
		this.cost = cost;
	}

	public int getId() {
		return id;
	}

	public boolean equals(Dish d) {
		return this.getId() == d.getId();
	}

}
